import {randomWord} from './utils'

export default {
    initFrom(){
        return [
            {
                itemName:"发起人",
                itemPlaceholder: "请选择",
                formKey: "",
                itemType: 6,
                selectStyle: "select",
                serverBindLabel: "processGuyKey",
                showType: "1",
                status: 1,
                dataSourceApi: "/e2-platform-new-api/v1/datasource/getUser",
                isRelation: 0,
                isRequire: 1
            },
            {
                itemName:"所属部门",
                itemPlaceholder: "请选择",
                formKey: "",
                itemType: 6,
                selectStyle: "select",
                serverBindLabel: "processOrganizeKey",
                showType: "1",
                status: 1,
                dataSourceApi: "/e2-platform-new-api/v1/datasource/getOrganization",
                isRelation: 0,
                isRequire: 1
            },
            {
                itemName:"申请编码",
                itemPlaceholder: "自动生成",
                formKey: "",
                itemType: 19,
                maxValue: "128",
                serverBindLabel: "applicationNumber",
                showType: "1",
                status: 1,
                dataSourceApi: "",
                isRelation: 0,
                isRequire: 1,
                itemOrder:randomWord(false,8)
            },
        ]
    }
}